package com.school.zhaoban.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author 又菜又爱玩
 * @version 1.0
 * @date 2022/3/3 21:01
 * @blog https://blog.csdn.net/biancheng4/article/details/121727982
 */

@Controller
public class IndexController {
//    @GetMapping("/**")
//    public ModelAndView ui(){
//        return new ModelAndView("index");
//    }

    @GetMapping("/")
    public ModelAndView index(){
        return new ModelAndView("index.html");
    }
}
